<template>
    <div>
        <h3>退货维护</h3>
        <el-table
                :data="tableData"
                stripe
                style="width: 100%">
            <el-table-column
                    prop="state"
                    label="退货状态">
            </el-table-column>
            <el-table-column
                    prop="name"
                    label="客户名">
            </el-table-column>
            <el-table-column
                    prop="address"
                    label="地址">
            </el-table-column>
            <el-table-column
                    prop="batch"
                    label="批次">
            </el-table-column>
            <el-table-column
                    prop="specs"
                    label="规格">
            </el-table-column>
            <el-table-column
                    prop="time"
                    label="退货时间">
            </el-table-column>
            <el-table-column
                    prop="goodsname"
                    label="商品名">
            </el-table-column>
            <el-table-column
                    prop="num"
                    label="商品数量">
            </el-table-column>
            <el-table-column
                    prop="price"
                    label="订单金额">
            </el-table-column>

        </el-table>
    </div>
</template>

<script>
    export default {
        name: "RetreatView",

        data() {
            return {
                tableData: []
            }
        },
        mounted() {
            this.init()
        },
        methods: {
            init(){
              this.$axios.get("/sscsys/returngoods/findAll").then(
                  r=>{
                      console.log(r.data)
                      this.tableData=r.data
                  }
              )
            },
            choice() {

            }
        },
    }
</script>

<style scoped>

</style>